linux C++生成uuid sudo apt-get install uuid-dev 安裝生成uuid的庫 編譯的時候需要將對應的庫添加上: #g++ -o –luuid uuid uuid.o ...